package com.kede.api.order.controller;

import com.kede.api.order.service.ITransportManageService;
import com.kede.pojo.ResHttp;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * @Author:Pr.li
 * @Date: create in 2023/10/14 16:30
 */
@RestController
@RequestMapping("order/transport")
public class TransportOrderController {

    @Resource
    private ITransportManageService transportManageService;

    @GetMapping("sureComplte")
    public ResHttp sureComplte(Integer transportId){
       return transportManageService.sureComplte(transportId);
    }

    @GetMapping("showInfoComplte")
    public ResHttp showInfoComplte(Integer transportId){
        return transportManageService.showInfoComplte(transportId);
    }
}
